package com.ophiux.FeverManagement.api;

import org.springframework.beans.factory.annotation.Autowired;

import com.ophiux.FeverManagement.api.port.IDoctorInfoPort;
import com.ophiux.FeverManagement.api.port.IPatientInfoPort;
import com.ophiux.FeverManagement.api.port.IPatientTreatmentPort;
import com.ophiux.FeverManagement.api.port.ITreatmentPort;
import com.ophiux.FeverManagement.api.port.getWechatInfoPort;

public class OphiuxFeverService implements IOphiuxFeverService {
	@Autowired
	IPatientTreatmentPort patientTreatmentPort;
	@Autowired
	IDoctorInfoPort doctorInfoPort;
	@Autowired
	IPatientInfoPort patientInfoPort;
	@Autowired
	ITreatmentPort treatmentPort;
	@Autowired
	getWechatInfoPort getWechatInfoPort;
	
	@Override
	public String addPatientTreatment(String data) {
		return patientTreatmentPort.addPatientTreatment(data);
	}


	@Override
	public String editPatientTreatment(String data) {
		return patientTreatmentPort.editPatientTreatment(data);
	}


	@Override
	public String delPatientTreatment(String data) {
		return patientTreatmentPort.delPatientTreatment(data);
	}


	@Override
	public String getPatientTreatmentListByDoctor(String data) {
		return patientTreatmentPort.getPatientTreatmentListByDoctor(data);
	}


	@Override
	public String doRegisterDoctor(String data) {
		return doctorInfoPort.doRegisterDoctor(data);
	}


	@Override
	public String doLoginDoctor(String data) {
		return doctorInfoPort.doLoginDoctor(data);
	}


	@Override
	public String getPatientInfoList(String data) {
		// TODO Auto-generated method stub
		return patientInfoPort.getPatientInfoList(data);
	}


	@Override
	public String AddPatientInfo(String data) {
		// TODO Auto-generated method stub
		return patientInfoPort.AddPatientInfo(data);
	}


	@Override
	public String editPatientInfo(String data) {
		// TODO Auto-generated method stub
		return patientInfoPort.editPatientInfo(data);
	}


	@Override
	public String getTreatmentList(String data) {
		return treatmentPort.getTreatmentList(data);
	}


	@Override
	public String getPatientTreatmentListByPatient(String data) {
		return patientTreatmentPort.getPatientTreatmentListByPatient(data);
	}


	@Override
	public String getWechatInfo(String data) {
		return getWechatInfoPort.getWechatInfo(data);
	}

}
